package T01_test_all.test13_stringBuilder;

import java.util.Scanner;

public class T13 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String str = sc.next();

        String result = new StringBuilder().append(str).reverse().toString();
        System.out.println(result);
        if(str.equals(result)){
            System.out.println("yse");
        }else {
            System.out.println("no");
        }
    }
}
